<!-- eslint-disable vue/multi-word-component-names -->
<template>
  <header class="header">
    <van-nav-bar title="标题" left-text="返回" left-arrow @click-left="router.replace('/home')">
  <template #right>
    <van-icon name="search" size="18" />
  </template>
</van-nav-bar>
  </header>
</template>

<script setup>
import { useRouter } from 'vue-router';
const router=useRouter()
defineOptions({
    name:'homeFood'
})
</script>

<style scoped>

</style>